*{
    margin: 0;
    padding: 0;
        font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}


.sub-header{
    height: 25vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),
    url(banner.jpeg);
    background-position: center;
    background-size: cover;
    color: #1462B8;
    text-align: center;
    margin-top: -100px;
}
.sub-header h1{
    margin-top: 100px;
    width: 90%;
    color: #fff;
    position: relative;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
nav{
    display: flex;
    padding: 35px 5px;
    justify-content: space-between;
    align-items: center;
    color: #E62917;
    font-weight: 600;
}
nav img{
    width: 100px;
    position: relative;
    padding-left: 70px;
}
.navbar{
    position: fixed;
    z-index: 5;
    width: 100%;
    padding: 25px 0 5px;
    transition: all 0.3s ease;
}
.navbar.sticky{
    background: #fff;
    padding: 10px 0;
    padding: 25px 0 5px;
}
.nav-links{
    flex: 1;
    text-align: right;
    padding-right: 50px;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 10px;
    position: relative;
}
.nav-links ul li a{
    padding: 5px 14px;
    border-radius: 20px;
    color: #E62917;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li a:hover{
    background: #1462B8;
    color: #fff;
}
.nav-links ul li:hover::after{
    width: 100%;
}

.active, .menu-list ul li:hover{
    background: #1462B8;
    border-radius: 10px;
}

.to-top {
    background: #E62917;
    position: fixed;
    bottom: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
}
.to-top.active {
    bottom: 32px;
    pointer-events: auto;
    opacity: 1;
    background: #E62917;
}

nav .fa{
    display: none;
}

nav h3{
    display: none;
}

.line{
    display: none;
}

.active, .menu-list ul li:hover{
    background: #1462B8;
    border-radius: 10px;
}

nav p{
    font-style: italic;
    font-size: 18px;
    font-weight: 600;
    color: #f44336;
}
nav .single{
    color: #E62917;
    font-size: 22px;
    font-style: normal;
    margin-bottom: 40%;
}
nav .single:hover{
    color: #1ea353;
    transition: 1ms;
}
nav .single1{
    text-decoration: none;
    color: #E62917;
    font-size: 13px;
    font-style: normal;
    margin-top: 0%;
    padding: 0%;
}

.dots{
    color: #f44336;
    font-weight: 600;
}

.searchbar{
    width: 60%;
    background-color: #eee;
    border-radius: 5px;
    padding: 2px;
    margin-inline: auto;
    margin-top: 1%;
    margin-bottom: 1%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
input{
    border: solid apx;
    width: 100%;
    height: 30px;
    outline: none;
    background: none;
}
.fa-magnifying-glass{
    color: #E62917;
    cursor: pointer;
    font-size: 15px;
    margin-left: 1%;
    margin-right: 2%;
}
.fa-magnifying-glass:hover{
    color: #fff;
    background-color: #E62917;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
}

#root{
    width: 95%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-inline: auto;
}
.box{
    margin: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
}
.img-box{
    width: 100%;
    height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.images{
    max-height: 90%;
    max-width: 90%;
    object-fit: cover;
    object-position: center;
}
.img-box:hover{
    background-color: whitesmoke;
}
.bottom{
    margin-top: 20px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 110px;
}
h2{
    font-size: 20px;
    color: #E62917;
}
button{
    width: 100%;
    position: relative;
    border: none;
    border-radius: 5px;
    background-color: #333;
    padding: 7px 25px;
    cursor: pointer;
    color: white;
}
button:hover{
    background-color: #E62917;
}
::-webkit-scrollbar{
    display: none;
}

/*------------ footer -----------*/
.footer{
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),
    url(banner.jpeg);
    background-position: center;
    background-size: cover;
    color: #ccc;
    width: 100%;
    text-align: center;
    padding: 30px 0;
    margin-top: 5%;
}
.footer h4{
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 1px;
    margin-top: 20px;
    font-weight: 600;
    color: #fff;
}
.footer P{
    margin-left: 20px;
    margin-right: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 25px;
    margin-top: 10px;
    font-weight: 300;
    color: #fff;
}
.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-copyright{
    color: #f44336;
}


@media(max-width:1535px) {
    .sub-header{
        padding: 0;
        width: 100%;
        height: 12.8rem;
        margin-bottom: 0%;
    }
    .sub-header h1{
        font-size: 2rem;
    }
    .navbar{
        position: fixed;
        z-index: 5;
        width: 100%;
        padding: 1.5rem 0rem 1rem;
        font-size: 22px;
        line-height: 22px;
        transition: all 0.3s ease;
    }
    nav img{
        width: 5rem;
        position: relative;
        padding-left: 2rem;
    }
    nav .fa{
        display: inline;
        color: #1462B8;
        margin-right: 64px;
        font-size: 25px;
        cursor: pointer;
    }

    nav h3{ 
        display: inline-table;
    }

    nav p{
        font-style: italic;
        font-size: 25px;
        padding-left: 20%;
        margin-bottom: 5%;
        color: #04205f;
        text-align: center;
    }
    nav .single{
        text-decoration: none;
        color: #E62917;
        font-size: 18px;
        font-style: normal;
        padding-left: 0%;
        margin-bottom: 5%;
    }
    nav .single:hover{
        color: #1ea353;
        transition: 1ms;
    }
    nav .single1{
        text-decoration: none;
        color: #E62917;
        font-size: 12px;
        font-style: normal;
        padding-left: 0%;
        margin-bottom: 5%;
        text-align: center;
    }
    nav h3{
        margin-left: -5%;
        width: 300%;
        padding: 0%;
        text-align: left;
    }
    
    nav .double{
        font-style: normal;
        font-weight: 600;
        text-decoration: none;
    }
    nav .double .fa{
        font-style: normal;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
    }
    nav .double .fa:hover{
        color: #fff;
        background-color: #1ea353;
        border: #1ea353 solid;
        border-radius: 10px;
        padding: 1%;
        transition: 1ms;
    }
    nav .triple{
        font-style: normal;
        font-weight: 600;
        text-decoration: none;
    }
    nav .triple .fa{
        font-style: normal;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
    }
    nav .triple .fa:hover{
        color: #fff;
        background-color: #1462B8;
        border: #1462B8 solid;
        border-radius: 10px;
        padding: 1%;
        transition: 1ms;
    }
    
    nav .triple1{
        font-style: normal;
        font-weight: 600;
        text-decoration: none;
    }
    nav .triple1 .fa{
        font-style: normal;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
    }
    nav .triple1 .fa:hover{
        color: #fff;
        background-color: #1462B8;
        border: #1462B8 solid;
        border-radius: 10px;
        padding: 1%;
        transition: 1ms;
    }

    nav .triple2{
        font-style: normal;
        font-weight: 600;
        text-decoration: none;
    }
    nav .triple2 .fa{
        font-style: normal;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
    }
    nav .triple2 .fa:hover{
        color: #fff;
        background-color: rgb(234, 0, 255);
        border: rgb(231, 62, 118) solid;
        border-radius: 10px;
        padding: 1%;
        transition: 1ms;
    }

    nav .triple3{
        font-style: normal;
        font-weight: 600;
        text-decoration: none;
    }
    nav .triple3 .fa{
        font-style: normal;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
    }
    nav .triple3 .fa:hover{
        color: #fff;
        background-color: #1462B8;
        border: #1462B8 solid;
        border-radius: 10px;
        padding: 1%;
        transition: 1ms;
    }
    
    nav .triple4{
        font-style: normal;
        font-weight: 600;
        text-decoration: none;
    }
    nav .triple4 .fa{
        font-style: normal;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
    }
    nav .triple4 .fa:hover{
        color: #fff;
        background-color: #E62917;
        border: #E62917 solid;
        border-radius: 10px;
        padding: 1%;
        transition: 1ms;
    }

    .nav-links{
        position: absolute;
        background: #fff;
        height: 100vh;
        width: 250px;
        top: 0;
        right: -400px;
        text-align: left;
        z-index: 2;
        transition: 1ms;
    }
    .nav-links ul{
        padding: 10px;
    }
    .nav-links ul li{
        display: block;
        margin-top: 10%;
        padding: 2%;
    }
    .nav-links .fa{
        display: inline-flex;
        margin-left: 5%;
        margin-right: 0%;
        margin-top: 0px;
    }
    .navbar.sticky{
        background: #fff;
        padding: 1.5rem 0rem 1rem;
    }
    .line{
        display: none;
    }
    .section_top{
        height: 80%;
    }
    .section_top .content{
        left: 50%;
        right: -100%;
    }
    .section_top .content h1{
        font-size: 30px;
    }

    .active, .menu-list ul li:hover{
        background: transparent;
    }
}

@media(max-width:740px) {
    .sub-header{
        padding: 0;
        width: 100%;
        height: 12.8rem;
        margin-bottom: 0%;
    }
    .sub-header h1{
        font-size: 1.5rem;
    }
    .header h2{
        display: none;
    }
    .navbar{
        position: fixed;
        z-index: 5;
        width: 95%;
        padding: 25px 20px 0px;
        transition: all 0.3s ease;
    }
    nav img{
        width: 60px;
        position: relative;
        padding-left: 2px;
    }
    nav .fa{
        display: inline;
        color: #1462B8;
        margin: 10px;
        font-size: 20px;
        cursor: pointer;
    }
    .nav-links{
        position: absolute;
        background: #fff;
        height: 100vh;
        width: 250px;
        top: 0;
        right: -400px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    .nav-links ul li a{
        font-size: 12px;
    }
    .nav-links ul{
        padding: 5px;
    }
    .nav-links ul li{
        display: block;
        margin-top: 6%;
    }
    .nav-links .fa{
        margin-top: 0px;
        font-size: 22px;
    }
    .text-box h1{
        font-size: 40px;
        line-height: 2rem;
        margin-top: 80px;
        margin-bottom: 0;
    }
    .text-box p{
        margin-left: -7px;
        font-size: 15px;
        margin-top: 0;
        margin-bottom: 30px;
    }
    .text-box .hero-btn{
        border-color: #f44336;
        padding: 10px;
    }
    .navbar.sticky{
        background: #fff;
        padding: 10px 0;
        padding: 25px 20px 0px;
    }

    #root{
        width: 98%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 5px;
        margin-inline: auto;
    }
    .box{
        margin: 1px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        border: 1px solid #333;
        border-radius: 5px;
        padding: 15px;
    }
    .img-box{
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .images{
        max-height: 90%;
        max-width: 90%;
        object-fit: cover;
        object-position: center;
    }
    .img-box:hover{
        background-color: whitesmoke;
    }
    .bottom{
        margin-top: 20px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: 110px;
    }
    h2{
        font-size: 20px;
        color: #E62917;
    }
    button{
        width: 100%;
        position: relative;
        border: none;
        border-radius: 5px;
        background-color: #333;
        padding: 7px 25px;
        cursor: pointer;
        color: white;
    }
    button:hover{
        background-color: #E62917;
    }
    ::-webkit-scrollbar{
        display: none;
    }
    
    .footer{
        height: auto;
        padding: 0%;
        padding-top: 2%;
        margin-inline: auto;
        margin-top: 10%;
        margin-bottom: 0%;
        margin-left: 0%;
        margin-right: 0%;
    }
    .footer h4{
        margin-bottom: 1px;
        margin-top: 0%;
    }
    .footer P{
        margin-left: 2%;
        margin-right: 2%;
        margin-bottom: 2px;
        margin-top: 10px;
        font-size: 12px;
        font-weight: 300;
        color: #fff;
    }
    .icons .fa{
        color: #f44336;
        margin: 0 13px;
        cursor: pointer;
        padding: 10px 0;
    }
    .fa-copyright{
        color: #f44336;
        margin-top: 0%;
        margin-bottom: 0%;
    }
}